﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Drawing;

namespace msgExchange
{
    internal class GIFWrapper
    {
        string name;
        Image data;
        PictureBox box;
        uint index;

        internal GIFWrapper(string Name, Image Data)
        {
            this.name = Name;
            this.data = Data;
            this.index = (uint)new Random().Next(200, 2147483627);
            this.box = new PictureBox();
            {
                 this.box.Image = Data;
                 this.box.BackColor = Color.White;
                 this.box.SizeMode = PictureBoxSizeMode.AutoSize;
            };
        }

        internal string Name { get { return this.name; } }
        internal Image Data { get { return this.data; } }
        internal PictureBox Box { get { return this.box; } }
        internal uint Index { get { return this.index; } }
    }
}
